package com.zzq.guli.service.edu.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zzq.guli.service.edu.entity.*;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 课程 服务类
 * </p>
 *
 * @author ZZQ
 * @since 2024-04-12
 */
public interface CourseService extends IService<Course> {

    String saveCourseInfo(CourseInfoForm courseInfoForm);


    Page<CourseVo> selectPage(Long page, Long limit, CourseQuery courseQuery);

    void updateCourseInfo(CourseInfoForm courseInfoForm);

    void removeCourseById(String courseId);

    boolean publishCourseById(String id);

    CoursePublishVo getCoursePublishVoById(String id);

    List<Course> getCourseList(WebCourseQuery webCourseQuery);

    WebCourseVo selectWebCourseVoById(String courseId);
}
